package com.pda.common.bean;

import java.io.Serializable;
import java.util.List;

public class LoginBean implements Serializable{
    private int errcode;
    private String errmsg;
    private DataBean data;

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * userID : 89
         * storeID : 78
         * storeCode : 011
         * storeName : PDA测试仓库2
         * showInfo : [{"id":1,"text":"入库扫描","billType":2,"icon":"http://mls.zaosin.cn/pda/images/u24.png"},{"id":2,"text":"出库扫描","billType":1,"icon":"http://mls.zaosin.cn/pda/images/u26.png"},{"id":3,"text":"生产关联","billType":11,"icon":"http://mls.zaosin.cn/pda/images/u32.png"},{"id":4,"text":"数码替换","billType":0,"icon":"http://mls.zaosin.cn/pda/images/u35.png"}]
         */

        private int userID;
        private String storeID;
        private String storeCode;
        private String storeName;
        private List<ShowInfoBean> showInfo;

        public int getUserID() {
            return userID;
        }

        public void setUserID(int userID) {
            this.userID = userID;
        }

        public String getStoreID() {
            return storeID;
        }

        public void setStoreID(String storeID) {
            this.storeID = storeID;
        }

        public String getStoreCode() {
            return storeCode;
        }

        public void setStoreCode(String storeCode) {
            this.storeCode = storeCode;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public List<ShowInfoBean> getShowInfo() {
            return showInfo;
        }

        public void setShowInfo(List<ShowInfoBean> showInfo) {
            this.showInfo = showInfo;
        }

        public static class ShowInfoBean implements Serializable {
            /**
             * id : 1
             * text : 入库扫描
             * billType : 2
             * icon : http://mls.zaosin.cn/pda/images/u24.png
             */

            private int id;
            private String text;
            private int billType;
            private String icon;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public int getBillType() {
                return billType;
            }

            public void setBillType(int billType) {
                this.billType = billType;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }
        }
    }
}
